package br.mikhas.lab.scanner;

public class DenyCharTransition extends Transition {
	private final char deny;

	public DenyCharTransition(State state, char deny) {
		super(state);
		this.deny = deny;
	}

	@Override
	boolean accept(char c) {
		return deny != c;
	}
}
